<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html lang="en">
  <head>
<meta name="copyright" content="Copyright (c) IBM Corporation and others 2007, 2010. This page is made available under license. For full details see the LEGAL in the documentation book that contains this page." >
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <title>
      Clean Up Preferences
    </title>
    <link rel="stylesheet" href="../../../../book.css" charset="ISO-8859-1" type="text/css">
    <script language="JavaScript" src="PLUGINS_ROOT/org.eclipse.help/livehelp.js" type="text/javascript"> </script>
  </head>
  <body>
    <h1>
      Clean Up Preferences
    </h1>

<p>The
<a class="command-link" href='javascript:executeCommand("org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.jdt.ui.preferences.CleanUpPreferencePage)")'>
<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg" alt="Opens the Clean Up preference page">
<b>Java &gt; Code Style &gt; Clean Up</b></a> preference page
lets you manage your code clean up profiles for the Java code clean up.</p>
<table border="1" cellspacing="0" cellpadding="5" width="600" summary="All options">
	<thead>
		<tr>
			<th>
			<p>Action</p>
			</th>
			<th>
			<p>Description</p>
			</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td valign="top" width="25%">
			<p>Active profile</p>
			</td>
			<td valign="top">
			<p>Selects the profile active for the workspace or current project.</p>
			</td>
		</tr>	
		<tr>
			<td valign="top" width="25%">
			<p>Edit...</p>
			</td>
			<td valign="top">
			<p>Shows a dialog which displays the settings stored in the active profile. Only user-defined profiles can be modified.</p>
			</td>
		</tr>
		<tr>
			<td valign="top" width="25%">
			<p>Remove</p>
			</td>
			<td valign="top">
			<p>Removes the selected profile. This action is only available on user-defined profiles.</p>
			</td>
		</tr>		
		<tr>
			<td valign="top" width="25%">
			<p>New...</p>
			</td>
			<td valign="top">
			<p>Shows the dialog to create a new profile. The dialog requires you to enter a name for the new profile. Additionally, you may select a built-in or user-defined existing profile to base your new profile on.</p>
			</td>
		</tr>
		<tr>
			<td valign="top" width="25%">
			<p>Import...</p>
			</td>
			<td valign="top">
			<p>Imports profiles from the file system.</p>
			</td>
		</tr>
		<tr>
			<td valign="top" width="25%">
			<p>Export All...</p>
			</td>
			<td valign="top">
			<p>Exports all the profiles to the file system.</p>
			</td>
		</tr>
		<tr>
			<td valign="top" width="25%">
			<p>Details</p>
			</td>
			<td valign="top">
			<p>Displays a summary of the enabled options of the active profile</p>
			</td>
		</tr>	
	</tbody>
</table>
<p>
Disable <strong>Show profile selection dialog for the 'Source &gt; Clean Up' action</strong> to apply the active profile when you invoke <strong>Source &gt; Clean Up</strong> without being disturbed by a dialog. 
</p>
    <h3 class="related">Related references</h3>
      <a href="../../../views/ref-java-editor.htm">Java editor</a><br>
      <a href="../../../preferences/java/ref-preferences-editor.htm">Java editor preferences</a>
  </body>
</html>

